/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.webbapps.cormac_susilo.wrappers;

import edu.webbapps.cormac_susilo.core.Frame;
import java.util.Date;

/**
 * This class is used to expose a Frame over the REST api
 * @author tor
 */
public class FrameWrapper {

    private Frame frame;
    
    public FrameWrapper(Frame f) {
        this.frame = f;
    }

    public double getAlt() {
        return this.frame.getAlt();
    }

    public double getDistance() {
        return this.frame.getDistance();
    }

    public double getLat() {
        return this.frame.getLat();
    }

    public double getLon() {
        return this.frame.getLon();
    }

    public int getPulse() {
        return this.frame.getPulse();
    }

    public double getSpeed() {
        return this.frame.getSpeed();
    }

    public Date getTimeLabel() {
        return this.frame.getTime_label();
    }
}
